#{extends 'main.html' /}
#{set title:'creating Topic' /}

	#{if flag==false}
                  you are not allowed to Create A topic  
                #{/if}
      #{else}
      
      <form action="@{Topics.createTopic()}" method="post">

	<div>
	

		Title: <input type="text" name="title" />
		<br><br>
	Type: <input type="text" name="Type" /><br><br>
	Content:	<textarea name="content" cols="40" rows="5">
         

  </textarea><br>

         <input type="hidden" id="entityid" value=${id} /> 
         
	

	</div>
		

<a href ="@{postTopic}">Post topic </a>

      #{/else}